package com.nuoniu.sibanyun.entity.erp;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.nuoniu.sibanyun.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 单据对应的引用档案属性
 * </p>
 *
 * @author baiqiang
 * @since 2020-11-09
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("pub_voucher_reference_propertie")
@ApiModel(value="ErpVoucherReferencePropertie对象", description="单据对应的引用档案属性")
public class ErpVoucherReferencePropertie extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "单据唯一code标识")
    @TableField("voucher_code")
    private String voucherCode;

    @ApiModelProperty(value = "页签 （表头 明细 ）")
    @TableField("data_tab")
    private String dataTab;

    @ApiModelProperty(value = "引用的基础档案code")
    @TableField("reference_table_code")
    private String referenceTableCode;

    @ApiModelProperty(value = "引用的基础档案名称")
    @TableField("reference_table_name")
    private String referenceTableName;

    @ApiModelProperty(value = "引用的字段code")
    @TableField("reference_field_code")
    private String referenceFieldCode;

    @ApiModelProperty(value = "引用的字段名称")
    @TableField("reference_field_name")
    private String referenceFieldName;

    @ApiModelProperty(value = "关联字段")
    @TableField("voucher_field")
    private String voucherField;

}
